package com.xjj.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author GH
 * @date 2022/10/19 19:26
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("xjj_health")
public class Health {
    //该条健康提醒的id
    @TableId(type = IdType.AUTO)
    private Integer id;

    //家长id
    @TableField("student_id")
    private Integer studentId;

    //提醒内容
    @TableField("text")
    private String text;

    //用药日期
    @TableField("date")
    private String date;

    //状态
    //未提醒n
    //已提醒y
    @TableField("status")
    private String status;

    //发起提醒的时间
    @TableField("send_time")
    private String sendTime;

    //确认提醒的时间
    @TableField("check_time")
    private String checkTime;

    //提醒说明图片
    @TableField("img")
    private String img;

    @TableField(exist = false)
    private String studentName;

    @TableField(exist = false)
    private String parentName;

    @TableField(exist = false)
    private String klassName;
}

